﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace MovieDatabase.forms
{
    public partial class splash : Form
    {
        public splash()
        {
            InitializeComponent();
        }

        private void splash_Load(object sender, EventArgs e)
        {
            //Need to load the databse and internet connection first to reduce waiting times later
            //then the main program will show
            loaditem.Text = "Loading...Database";
            //put database code here

            loaditem.Text = "Loading...IMDB Connection";
            //put internet connection code here

            loaditem.Text = "Loading...Main Form/Everything Else";
            //load everything else
            main mainform = new main();
            mainform.Show();
            //unload splash
            
        }
    }
}
